package com.rockontrol.ele.service;

import java.util.List;

import com.rockontrol.ele.pojo.*;
import com.rockontrol.ele.vo.*;

public interface MaPlanSvc {
	public String createThePurchaseMaterialPlan( Ma物资计划 pmp_);
	
	public Ma物资计划 getThePurchseMaterialPlanByBindid(String bindid);
	public Ma物资计划 getThePurchseMaterialPlan (String oid_,String employeeid_,String callType);
	
	public String pageInitGetPurchaseMaterialPlans(PurchaseMaterialPlanCdt cdt_, String roll_);
	
	public List< Ma物资计划> getPurchaseMaterialPlans(PurchaseMaterialPlanCdt cdt_);
	/**
	 * 根据物资计划明细填充单价
	 * @param pl_
	 * @return
	 */
	public List<Ma物资计划明细> getPurchasePlanPrice(List<Ma物资计划明细> pl_, String unitId,String type);
	
	public Boolean updateThePurchaseMaterialPlan (Ma物资计划 pmp_,String employeeid);
	
	public List<Ma物资计划明细> getDepartmentMaterialPlanDetails (PurchaseMaterialPlanCdt mpc_);	
	
	public Ma物资计划 getLastPlan (String unit,String date);	
	
	public Boolean deldeteThePurchaseMaterialPlan(String oid_);
	
	public String summaryPlan(MaterialPlanSummarizingCdt cdt_);
	
	public String pageNumMaPlan(String roll_,Integer num_);
	
	public String pageInitPuchaseMaterialPlans(PurchaseMaterialPlanCdt cdt_, String roll_);
	

	//劳保策略服务
	public String pageInitLabourProtectionStrategy(LabourProtectionStrategyCdt cdt_, String roll_);

	public String createTheLabourProtectionStrategy(Ma劳保策略 lps_);
	
	public Boolean updateTheLabourProtectionStrategy(Ma劳保策略 lps_);
	
	public Ma劳保策略 getTheLabourProtectionStrategy(String oid_);
	
	public Boolean deleteTheLabourProtectionStrategy(String oid_);
	
	//劳保台帐服务
	public Boolean createTheLabourProtection (Ma劳保台帐 pmp_);
	
	public Boolean updateTheLabourProtection (Ma劳保台帐 pmp_);
	
	public Boolean deleteTheLabourProtection (String id_ );
	
	public Boolean testTheLabourProtection (Ma劳保台帐 pmp_);
	
	public List<Ma劳保台帐> findTheLabourProtection (MaLabourCdt cdt_ );
	
	public Ma劳保台帐 findTheLabourProtectionById (String id_ );
	
	public String pageInitFindTheLabourProtection (MaLabourCdt cdt_, String roll_);
	
	/**
	 * 根据条件查询采购计划明细记录集
	 * @param cdt_
	 * @param roll_
	 * @return
	 */
	public String pageInitPurchaseOrderInquires(MaPurchaseOrderCdt cdt_, String roll_);
	
	/**
	 * 反查采购计划明细对应的申请计划明细
	 */
	public String getThePurchaseOrderInquires(String oid_,String roll);

	
	
}
